package com.huawei.devcloud;
import javax.annotation.PreDestroy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class JavaWebDemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(JavaWebDemoApplication.class, args);
	}
    
    @PreDestroy
public void shutdown() {
    // 执行关闭操作，如释放资源、保存数据等
}
}
